<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<link rel="stylesheet" type="text/css" href="../css/common.css?01_38" />
		<link rel="stylesheet" type="text/css" href="../css/templet.css?01_38" />
		<link rel="stylesheet" type="text/css" href="../mui/css/mui.css?01_38" />
		<!--公共js-->
		<script type="text/javascript" src="../common/js/jquery.js?01_38"></script>
		
		<!--插件-->
		<script type="text/javascript" src="../common/js/vue.min.js?01_38"></script>
		<script type="text/javascript" src="../common/js/mui.min.js?01_38"></script>
		
		<script type="text/javascript" src="../common/js/fastclick.js?01_38"></script>
		<script type="text/javascript" src="../common/js/common.js?01_38"></script>
		<script type="text/javascript" src="../common/js/main.js?01_38"></script>
		<script type="text/javascript" src="../common/js/app.js?01_38"></script>
	</head>

	<body>
		<header class="bg-red9 fff f-20 pad-t-10 pad-b-10 pad-r-10">
			<div class="pa back  pad-l-10" onclick="back();">
				<a></a>
			</div>
			<div class="center" data-l="1268"></div>
		</header>
		<div id="app" class="wrap_body about_us" v-cloak>
			<div class="content pad-t-45 pad-l-12 pad-r-12 pad-b-25">
				<!--上部分-->
				<div class="top pad-t-30 pad-b-35">
					<!--logo部分-->
					<div class="fiex logo pad-b-30">
						<div class="fiex4">
							<div class="logobg bg_01 fr"></div>
						</div>
						<div class="pad-l-5 pad-r-5">
							<div class="logobg bg_02"></div>
						</div>
						<div class="fiex4">
							<div class="logobg bg_03"></div>
						</div>
					</div>

					<!--当前版本-->
					<!--<div class="center pad-b-35">
						<div class="red9 wrap f-15">
							v3.13
						</div>
						<p class="f-13 pad-t-15">已经是最新版本</p>
					</div>-->
					<div class="center pad-b-35">
						<!--<div class="fiex"><div class="fiex1">APP版本:</div><div class="fiex1">1.3.2</div></div>
						<div class="fiex"><div class="fiex1">APP版本:</div><div class="fiex1">1.3.2</div></div>
						<div class="fiex"><div class="fiex1">APP版本:</div><div class="fiex1">1.3.2</div></div>-->
						<div class="mag-b-5">{{b_lg['1373']}}:<span class="mag-l-10">{{obj.s1}}</span></div>
						<div class="mag-b-5">{{b_lg['1374']}}:<span class="mag-l-10">{{obj.s2}}</span></div>
						<!--<div class="mag-b-5">gpush_clientid:<span class="mag-l-10" style="word-break:break-all;">{{gpush_clientid}}132456465465654654566465446132134654asda4as65d4as65d45as6d4a65s132</span></div>
						<!--<div class="mag-b-5">缓存版本:<span class="mag-l-10">{{obj.s3}}</span></div>-->
					</div>
					<!--新版本-->
					<div class="center">
						<!--<p class="red9 f-13 pad-b-10">发现新版本<span>v3.14</span></p>-->
						<a @click="clear_cache()" class="fff bg-red9 btn f-15 pad-50 pad-t-15 pad-b-15 bon-red9">{{b_lg[1267]}}</a>

					</div>
				</div>

				<!--中间部分-->
				<div class="middle pad-t-35 center">
					<p class="f-18 c000 pad-b-40">本软件由 yhofoodie 公司提供</p>
					<div class="bg"></div>
					<div class="pad-t-35 pad-l-35 pad-r-35 pad-b-30 f-13 text">
						<div class="fiex fl">
							<div class="urlbg yho"></div>
							<div class="pad-l-5">www.yhofoodie.com</div>
						</div>
						<div class="fiex fr">
							<div class="urlbg fb"></div>
							<div class="pad-l-5">yhofoodie</div>
						</div>
					</div>
				</div>

				<!--下边-->
				<div class="bottom pad-t-25 pad-l-30 pad-r-30">
					<div class="fiex pad-b-25">
						<div class="bg bg_01"></div>
						<div class="pad-l-30">+60 177 7409 86</div>
					</div>
					<div class="fiex pad-b-25">
						<div class="bg bg_02"></div>
						<div class="pad-l-30">myservice@yhofoodie.com</div>
					</div>
					<div class="fiex pad-b-25">
						<div class="bg bg_03"></div>
						<div class="pad-l-30">Tropez Residence, Perdana,Jalan Sungai Danga Kota Iskandar, 80200 Johor Bahru, Johor, Malaysia.</div>
					</div>
				</div>
			</div>
		</div>
	</body>
	<script type="text/javascript">
		var app = null
		var info_plus = ""

		function fun1() {
			setlange_obj(); //加载头部语言包
			if(isAPP) {
				info_plus = plus.push.getClientInfo();
			}
			app = new Vue({
				el: "#app",
				data: {
					obj: {
						s1: '1.0.0',
						s2: '1.0.0',
						s3: '1.0.0'
					},
					b_lg: global_lange, //语言包
					gpush_token: info_plus.token,
					gpush_clientid: info_plus.clientid
				},
				mounted: function() {
					var $th = this;
					plus.runtime.getProperty(plus.runtime.appid, function(wgtinfo) {
						$th.obj.s1 = wgtinfo.version;
					});
					$th.obj.s2 = plus.runtime.version;
				},
				methods: {
					clear_cache: function() {
						$.ajax({
							type: "get",
							dataType: "json",
							url: "../language/" + getItem("lg") + ".json",
							success: function(h) {
								setItem("Langues", JSON.stringify(h));
								mui.toast(app.b_lg['1381']);
								setItem("shop_ver",-1000)			
								var preUrl = plus.webview.currentWebview().opener();
								preUrl.evalJS('refresh()')
								getAppInfo()
								if(isAPP){
									plus.runtime.restart()//重启app
								}
							},
							error: function(e) {
								mui.alert("语言包加载错误");
							}
						});
					},
				}
			})

		}
	</script>

</html>
